package com.mzj.saas.mservice.community.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/*
 *小区管理表
 */
@Entity
@Table(name = "saas_community")
@ApiModel("小区管理表")
public class Community  {
    /*
     *Id
     */
    @Id
    private String id;
    /*
     *小区名称
     */
    @Column(name = "name", nullable = true)
    @ApiModelProperty(value = "小区名称",required = false)
    private String  name;
    /*
     *建设时间
     */
    @Column(name = "build_time", nullable = true)
    @ApiModelProperty(value = "建设时间",required = false)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date  buildTime;
    /*
     *联系电话
     */
    @Column(name = "phone", nullable = true,columnDefinition = "char(10)")
    @ApiModelProperty(value = "联系电话",required = false)
    private String  phone;

    /*
     *经度
     */
    @Column(name = "longitude", nullable = true)
    @ApiModelProperty(value = "经度",required = true)
    private Double longitude;

    /*
     *纬度
     */
    @Column(name = "latitude", nullable = true)
    @ApiModelProperty(value = "纬度",required = true)
    private Double latitude;
    /*
     *省
     */
    @Column(name = "province_id", nullable = true)
    @ApiModelProperty(value = "省",required = false)
    private Long  provinceId;
    /*
     *市
     */
    @Column(name = "city_id", nullable = true)
    @ApiModelProperty(value = "市",required = false)
    private Long  cityId;
    /*
     *区
     */
    @Column(name = "district_id", nullable = true)
    @ApiModelProperty(value = "区",required = false)
    private Long  districtId;
    /*
     *所属街道
     */
    @Column(name = "street_id", nullable = true)
    @ApiModelProperty(value = "所属街道",required = false)
    private Long  streetId;
    /*
     *所属社区
     */
    @Column(name = "community_id", nullable = true)
    @ApiModelProperty(value = "所属社区",required = false)
    private Long  communityId;
    /*
     *小区地址
     */
    @Column(name = "address", nullable = true)
    @ApiModelProperty(value = "小区地址",required = false)
    private String  address;

    /*
     *小区总用地面积(万平方米)
     */
    @Column(name = "community_total_land_area", nullable = true,columnDefinition = "DECIMAL(10,2)")
    @ApiModelProperty(value = "小区总用地面积(万平方米)",required = false)
    private Double  communityTotalLandArea;
    /*
     *小区占地面积(万平方米)
     */
    @Column(name = "community_area", nullable = true,columnDefinition = "DECIMAL(10,2)")
    @ApiModelProperty(value = "小区占地面积(万平方米)",required = false)
    private Double  communityArea;

    /*
     *小区出入口数量(个)
     */
    @Column(name = "inlet_outlet_number", nullable = true)
    @ApiModelProperty(value = "小区出入口数量(个)",required = false)
    private Integer  inletOutletNumber;

    /*
     *小区人口数(人)
     */
    @Column(name = "population_number", nullable = true)
    @ApiModelProperty(value = "小区人口数(人)",required = false)
    private Integer  populationNumber;
    /*
     *违建(0无 1有)
     */
    @Column(name = "illegal_building", nullable = true)
    @ApiModelProperty(value = "违建(0无 1有)",required = false)
    private Integer  illegalBuilding;
    /*
     *违搭(0无 1有)
     */
    @Column(name = "breach_building", nullable = true)
    @ApiModelProperty(value = "违搭(0无 1有)",required = false)
    private Integer  breachBuilding;
    /*
     *架空管线(0无 1有)
     */
    @Column(name = "overhead_pipeline", nullable = true)
    @ApiModelProperty(value = "架空管线(0无 1有)",required = false)
    private Integer  overheadPipeline;
    /*
     *围墙(0无 1有)
     */
    @Column(name = "wall", nullable = true)
    @ApiModelProperty(value = "围墙(0无 1有)",required = false)
    private Integer  wall;

    /*
     *标识系统(0无 1有)
     */
    @Column(name = "tag_system", nullable = true)
    @ApiModelProperty(value = "标识系统(0无 1有)",required = false)
    private Integer  tagSystem;
    /*
     *绿地面积(平方米)
     */
    @Column(name = "green_area", nullable = true,columnDefinition = "DECIMAL(10,2)")
    @ApiModelProperty(value = "绿地面积(平方米)",required = false)
    private Double  greenArea;
    /*
     *绿地率(%)
     */
    @Column(name = "green_rate", nullable = true,columnDefinition = "DECIMAL(10,2)")
    @ApiModelProperty(value = "绿地率(%)",required = false)
    private Double  greenRate;

    /*
     *大门(个)
     */
    @Column(name = "gate", nullable = true)
    @ApiModelProperty(value = "大门(个)",required = false)
    private Integer  gate;
    /*
     *有无物业(0无 1有)
     */
    @Column(name = "property_company", nullable = true)
    @ApiModelProperty(value = "有无物业(0无 1有)",required = false)
    private Integer  propertyCompany;
    /*
     *是否成立业主委员会(0无 1有)
     */
    @Column(name = "owner_committee", nullable = true)
    @ApiModelProperty(value = "是否成立业主委员会(0无 1有)",required = false)
    private Integer  ownerCommittee;


    /*
     *物业收费标准
     */
    @Column(name = "property_charging_standard", nullable = true)
    @ApiModelProperty(value = "物业收费标准",required = false)
    private String  propertyChargingStandard;
    /*
     *物业收费率
     */
    @Column(name = "property_charge_rate", nullable = true)
    @ApiModelProperty(value = "物业收费率",required = false)
    private String propertyChargeRate;
    /*
     *物业企业id
     */
    @Column(name = "org_id", nullable = true)
    @ApiModelProperty(value = "物业企业id",required = false)
    private Long orgId;
    /*
     *小区物业公司名称
     */
    @Column(name = "property_company_name", nullable = true)
    @ApiModelProperty(value = "小区物业公司名称",required = false)
    private String  propertyCompanyName;
    /*
     *物业公司管理范围
     */
    @Column(name = "property_company_limit", nullable = true)
    @ApiModelProperty(value = "物业公司管理范围",required = false)
    private String  propertyCompanyLimit;

    /*
     *状态：1正常  4已删除
     */
    @Column(name = "status", nullable = true)
    @ApiModelProperty(value = "状态：1正常  4已删除",required = false)
    private Integer  status;
    /*
     *操作人
     */
    @Column(name = "operation_id", nullable = true)
    @ApiModelProperty(value = "操作人",required = false)
    private String  operationId;
    /*
     *时间
     */
    @Column(name = "create_time", nullable = true)
    @ApiModelProperty(value = "时间",required = false)
    private Date createTime;

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(Date buildTime) {
        this.buildTime = buildTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public Long getStreetId() {
        return streetId;
    }

    public void setStreetId(Long streetId) {
        this.streetId = streetId;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getCommunityTotalLandArea() {
        return communityTotalLandArea;
    }

    public void setCommunityTotalLandArea(Double communityTotalLandArea) {
        this.communityTotalLandArea = communityTotalLandArea;
    }

    public Double getCommunityArea() {
        return communityArea;
    }

    public void setCommunityArea(Double communityArea) {
        this.communityArea = communityArea;
    }

    public Integer getInletOutletNumber() {
        return inletOutletNumber;
    }

    public void setInletOutletNumber(Integer inletOutletNumber) {
        this.inletOutletNumber = inletOutletNumber;
    }

    public Integer getPopulationNumber() {
        return populationNumber;
    }

    public void setPopulationNumber(Integer populationNumber) {
        this.populationNumber = populationNumber;
    }

    public Integer getIllegalBuilding() {
        return illegalBuilding;
    }

    public void setIllegalBuilding(Integer illegalBuilding) {
        this.illegalBuilding = illegalBuilding;
    }

    public Integer getBreachBuilding() {
        return breachBuilding;
    }

    public void setBreachBuilding(Integer breachBuilding) {
        this.breachBuilding = breachBuilding;
    }

    public Integer getOverheadPipeline() {
        return overheadPipeline;
    }

    public void setOverheadPipeline(Integer overheadPipeline) {
        this.overheadPipeline = overheadPipeline;
    }

    public Integer getWall() {
        return wall;
    }

    public void setWall(Integer wall) {
        this.wall = wall;
    }

    public Integer getTagSystem() {
        return tagSystem;
    }

    public void setTagSystem(Integer tagSystem) {
        this.tagSystem = tagSystem;
    }

    public Double getGreenArea() {
        return greenArea;
    }

    public void setGreenArea(Double greenArea) {
        this.greenArea = greenArea;
    }

    public Double getGreenRate() {
        return greenRate;
    }

    public void setGreenRate(Double greenRate) {
        this.greenRate = greenRate;
    }

    public Integer getGate() {
        return gate;
    }

    public void setGate(Integer gate) {
        this.gate = gate;
    }

    public Integer getPropertyCompany() {
        return propertyCompany;
    }

    public void setPropertyCompany(Integer propertyCompany) {
        this.propertyCompany = propertyCompany;
    }

    public Integer getOwnerCommittee() {
        return ownerCommittee;
    }

    public void setOwnerCommittee(Integer ownerCommittee) {
        this.ownerCommittee = ownerCommittee;
    }

    public String getPropertyChargingStandard() {
        return propertyChargingStandard;
    }

    public void setPropertyChargingStandard(String propertyChargingStandard) {
        this.propertyChargingStandard = propertyChargingStandard;
    }

    public String getPropertyChargeRate() {
        return propertyChargeRate;
    }

    public void setPropertyChargeRate(String propertyChargeRate) {
        this.propertyChargeRate = propertyChargeRate;
    }

    public String getPropertyCompanyName() {
        return propertyCompanyName;
    }

    public void setPropertyCompanyName(String propertyCompanyName) {
        this.propertyCompanyName = propertyCompanyName;
    }

    public String getPropertyCompanyLimit() {
        return propertyCompanyLimit;
    }

    public void setPropertyCompanyLimit(String propertyCompanyLimit) {
        this.propertyCompanyLimit = propertyCompanyLimit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
